package com.haojin.p2.bean;
/**
 * 
* @Description Customer为实体对象，用于封装客户信息
* @author .29. Email:1057500994@qq.com
* @version
* @date 2022年3月13日上午11:41:27
*
 */
public class Customer {
	private String name;// 姓名
	private char gender;// 性别
	private int age; // 年龄
	private String phone;// 电话号码
	private String email;//邮箱
	
	public Customer(){//空参构造器
		
	}
	
	//全参构造器
	public Customer(String name, char gender, int age, String phone, String email) {
		this.name = name;
		this.gender = gender;
		this.age = age;
		this.phone = phone;
		this.email = email;
	}


	public void setName(String name){
		this.name = name;
	}
	public String getName(){
		return name;
	}
	public char getGender() {
		return gender;
	}
	public void setGender(char gender) {
		this.gender = gender;
	}
	public String getPhone() {
		return phone;
	}
	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
}

